package com.muyu.system.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品类型 danmo_shopping_sku
 *
 * @author yangle
 * @date 2024-09-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoShoppingSku extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * sku类型唯一id
     */
    private Long id;

    /**
     * 商品名称
     */
    @Excel(name = "商品id")
    private Long productId;

    /**
     * sku价格
     */
    @Excel(name = "sku价格")
    private BigDecimal skuPrice;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    private String picture;

    /**
     * sku类型
     */
    @Excel(name = "sku类型")
    private String skuType;

    /**
     * sku类型详情
     */
    @Excel(name = "sku类型详情")
    private String skuName;

    /**
     * 库存量
     */
    @Excel(name = "库存量")
    private Long stock;

    /**
     * 商品图片信息
     */
    private List<DanmoShoppingProductsPicture> danmoShoppingProductsPictureList;

    /**
     * 销量
     */
    @Excel(name = "销量")
    private Long sales;


    private Long reviewCount;
    private Integer pageNum = 1;
    private Integer pageSize = 10;
}
